package week07.Mid;

public class AirPortImpl implements AirPort {
    private Plane plane=new PlaneProxy(new PlaneFactory().getInstance());
    @Override
    public void schedule() {
        System.out.println("通过机场通知XX飞机起飞！");
        plane.takeOff();
    }
}
